package Junit.domain;

import domain.users.Member;
import junit.framework.TestCase;

public class MemberTest extends TestCase {
	Member _mem;
	protected void setUp() throws Exception {
		super.setUp();
		this._mem = new Member("m1", "email");
	}
	
	public void testMember(){
		assertEquals(1, _mem.getRank());
		assertEquals("email", _mem.getEmail());
		_mem.setEmail("email2");
		assertEquals("email2", _mem.getEmail());
	}
}
